package com.ahua.mallchat.common.service;


import com.ahua.mallchat.common.domain.dto.*;
import com.ahua.mallchat.common.domain.pojo.User;
import com.ahua.mallchat.common.domain.vo.user.BadgeResp;
import com.ahua.mallchat.common.domain.vo.user.ItemInfoVO;
import com.ahua.mallchat.common.domain.vo.user.SummeryInfoVO;
import com.ahua.mallchat.common.domain.vo.user.UserInfoResp;

import java.util.List;

/**
 * 用户表 服务类
 */
public interface UserService {

    Long register(User user);

    /**
     * 获取用户详情
     *
     * @param uid userId
     */
    UserInfoResp getUserInfo(Long uid);

    void modifyName(Long uid, ModifyNameReq req);

    List<BadgeResp> badges(Long uid);

    void wearingBadge(Long uid, WearingBadgeReq req);

    /**
     * 拉黑用户
     */
    void blackUser(BlackReq req);

    /**
     * 获取用户汇总信息
     *
     * @param req
     * @return
     */
    List<SummeryInfoVO> getSummeryUserInfo(SummeryInfoReq req);

    List<ItemInfoVO> getItemInfo(ItemInfoReq req);
}
